<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="content-type" content="text/html" />
	<meta name="author" content="暮雨秋晨" />
	<meta charset="UTF-8" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
    <meta name="description" content="{$config['desc']}" />
    <meta name="keywords" content="{$config['keywd']}" />
	<title>失败提示</title>
    <link rel="stylesheet" href="{__STATIC__}/css/main.css" />
    <script src="{__STATIC__}/js/common.js"></script>
</head>
<body>
<header>
<ul>
<li><a style="z-index: 49;cursor: pointer;">失败</a></li>
</ul>
</header>

<div id="main">
<div id="tip">{$msg}</div>
<p>页面将在 <b id="wait" style="color: red;">{$time}</b> 秒后自动 <a id="href" href="{$url}" style="color: red;">跳转</a> ，请稍等</p>
</div>

{include 'common/footer.html'}
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>
</body>
</html>